package models

type CardTemplateModel struct {
	BaseModel
	Title          string `json:"title" gorm:"comment:卡标题"`
	Count          int    `json:"count" gorm:"comment:计卡总数"`
	Validity       int    `json:"validity" gorm:"comment:期限,1不限制,2一个月,3两个月,4一年"`
	BottomTitle    string `json:"bottom_title" gorm:"comment:底部标题"`
	CreateByUserId int    `json:"create_by_user_id" gorm:"comment:创建人"`
}

func (CardTemplateModel) TableName() string {
	return "card_template"
}
